package com.medical_houduan.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(title = "cityDTO对象")
public class CityDto {
    @Schema(title = "封装数据库表的city_id属性")
    private Long cityId;
    @Schema(title = "城市编号,对应一个城市，相当于城市的名称")
    private Long cityNumber;
    @Schema(title = "城市所属的省份")
    private String province;
    @Schema(title = "城市所属的直辖市")
    private String city;

}
